Optimal. Leaf size=228 \[ \frac{1}{2} i b e^3 \text{PolyLog}(2,-i c x)-\frac{1}{2} i b e^3 \text{PolyLog}(2,i c x)-\frac{3 d^2 e \left (a+b \tan ^{-1}(c x)\right )}{4 x^4}-\frac{d^3 \left (a+b \tan ^{-1}(c x)\right )}{6 x^6}-\frac{3 d e^2 \left (a+b \tan ^{-1}(c x)\right )}{2 x^2}+a e^3 \log (x)+\frac{3 b c^3 d^2 e}{4 x}+\frac{3}{4} b c^4 d^2 e \tan ^{-1}(c x)+\frac{b c^3 d^3}{18 x^3}-\frac{b c^5 d^3}{6 x}-\frac{1}{6} b c^6 d^3 \tan ^{-1}(c x)-\frac{3}{2} b c^2 d e^2 \tan ^{-1}(c x)-\frac{b c d^2 e}{4 x^3}-\frac{b c d^3}{30 x^5}-\frac{3 b c d e^2}{2 x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.230883, antiderivative size = 228, normalized size of antiderivative = 1., number of steps used = 17, number of rules used = 6, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.286, Rules used = {4980, 4852, 325, 203, 4848, 2391} \[ \frac{1}{2} i b e^3 \text{PolyLog}(2,-i c x)-\frac{1}{2} i b e^3 \text{PolyLog}(2,i c x)-\frac{3 d^2 e \left (a+b \tan ^{-1}(c x)\right )}{4 x^4}-\frac{d^3 \left (a+b \tan ^{-1}(c x)\right )}{6 x^6}-\frac{3 d e^2 \left (a+b \tan ^{-1}(c x)\right )}{2 x^2}+a e^3 \log (x)+\frac{3 b c^3 d^2 e}{4 x}+\frac{3}{4} b c^4 d^2 e \tan ^{-1}(c x)+\frac{b c^3 d^3}{18 x^3}-\frac{b c^5 d^3}{6 x}-\frac{1}{6} b c^6 d^3 \tan ^{-1}(c x)-\frac{3}{2} b c^2 d e^2 \tan ^{-1}(c x)-\frac{b c d^2 e}{4 x^3}-\frac{b c d^3}{30 x^5}-\frac{3 b c d e^2}{2 x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4980
Rule 4852
Rule 325
Rule 203
Rule 4848
Rule 2391
Rubi steps
\begin{align*} \int \frac{\left (d+e x^2\right )^3 \left (a+b \tan ^{-1}(c x)\right )}{x^7} \, dx &=\int \left (\frac{d^3 \left (a+b \tan ^{-1}(c x)\right )}{x^7}+\frac{3 d^2 e \left (a+b \tan ^{-1}(c x)\right )}{x^5}+\frac{3 d e^2 \left (a+b \tan ^{-1}(c x)\right )}{x^3}+\frac{e^3 \left (a+b \tan ^{-1}(c x)\right )}{x}\right ) \, dx\\ &=d^3 \int \frac{a+b \tan ^{-1}(c x)}{x^7} \, dx+\left (3 d^2 e\right ) \int \frac{a+b \tan ^{-1}(c x)}{x^5} \, dx+\left (3 d e^2\right ) \int \frac{a+b \tan ^{-1}(c x)}{x^3} \, dx+e^3 \int \frac{a+b \tan ^{-1}(c x)}{x} \, dx\\ &=-\frac{d^3 \left (a+b \tan ^{-1}(c x)\right )}{6 x^6}-\frac{3 d^2 e \left (a+b \tan ^{-1}(c x)\right )}{4 x^4}-\frac{3 d e^2 \left (a+b \tan ^{-1}(c x)\right )}{2 x^2}+a e^3 \log (x)+\frac{1}{6} \left (b c d^3\right ) \int \frac{1}{x^6 \left (1+c^2 x^2\right )} \, dx+\frac{1}{4} \left (3 b c d^2 e\right ) \int \frac{1}{x^4 \left (1+c^2 x^2\right )} \, dx+\frac{1}{2} \left (3 b c d e^2\right ) \int \frac{1}{x^2 \left (1+c^2 x^2\right )} \, dx+\frac{1}{2} \left (i b e^3\right ) \int \frac{\log (1-i c x)}{x} \, dx-\frac{1}{2} \left (i b e^3\right ) \int \frac{\log (1+i c x)}{x} \, dx\\ &=-\frac{b c d^3}{30 x^5}-\frac{b c d^2 e}{4 x^3}-\frac{3 b c d e^2}{2 x}-\frac{d^3 \left (a+b \tan ^{-1}(c x)\right )}{6 x^6}-\frac{3 d^2 e \left (a+b \tan ^{-1}(c x)\right )}{4 x^4}-\frac{3 d e^2 \left (a+b \tan ^{-1}(c x)\right )}{2 x^2}+a e^3 \log (x)+\frac{1}{2} i b e^3 \text{Li}_2(-i c x)-\frac{1}{2} i b e^3 \text{Li}_2(i c x)-\frac{1}{6} \left (b c^3 d^3\right ) \int \frac{1}{x^4 \left (1+c^2 x^2\right )} \, dx-\frac{1}{4} \left (3 b c^3 d^2 e\right ) \int \frac{1}{x^2 \left (1+c^2 x^2\right )} \, dx-\frac{1}{2} \left (3 b c^3 d e^2\right ) \int \frac{1}{1+c^2 x^2} \, dx\\ &=-\frac{b c d^3}{30 x^5}+\frac{b c^3 d^3}{18 x^3}-\frac{b c d^2 e}{4 x^3}+\frac{3 b c^3 d^2 e}{4 x}-\frac{3 b c d e^2}{2 x}-\frac{3}{2} b c^2 d e^2 \tan ^{-1}(c x)-\frac{d^3 \left (a+b \tan ^{-1}(c x)\right )}{6 x^6}-\frac{3 d^2 e \left (a+b \tan ^{-1}(c x)\right )}{4 x^4}-\frac{3 d e^2 \left (a+b \tan ^{-1}(c x)\right )}{2 x^2}+a e^3 \log (x)+\frac{1}{2} i b e^3 \text{Li}_2(-i c x)-\frac{1}{2} i b e^3 \text{Li}_2(i c x)+\frac{1}{6} \left (b c^5 d^3\right ) \int \frac{1}{x^2 \left (1+c^2 x^2\right )} \, dx+\frac{1}{4} \left (3 b c^5 d^2 e\right ) \int \frac{1}{1+c^2 x^2} \, dx\\ &=-\frac{b c d^3}{30 x^5}+\frac{b c^3 d^3}{18 x^3}-\frac{b c d^2 e}{4 x^3}-\frac{b c^5 d^3}{6 x}+\frac{3 b c^3 d^2 e}{4 x}-\frac{3 b c d e^2}{2 x}+\frac{3}{4} b c^4 d^2 e \tan ^{-1}(c x)-\frac{3}{2} b c^2 d e^2 \tan ^{-1}(c x)-\frac{d^3 \left (a+b \tan ^{-1}(c x)\right )}{6 x^6}-\frac{3 d^2 e \left (a+b \tan ^{-1}(c x)\right )}{4 x^4}-\frac{3 d e^2 \left (a+b \tan ^{-1}(c x)\right )}{2 x^2}+a e^3 \log (x)+\frac{1}{2} i b e^3 \text{Li}_2(-i c x)-\frac{1}{2} i b e^3 \text{Li}_2(i c x)-\frac{1}{6} \left (b c^7 d^3\right ) \int \frac{1}{1+c^2 x^2} \, dx\\ &=-\frac{b c d^3}{30 x^5}+\frac{b c^3 d^3}{18 x^3}-\frac{b c d^2 e}{4 x^3}-\frac{b c^5 d^3}{6 x}+\frac{3 b c^3 d^2 e}{4 x}-\frac{3 b c d e^2}{2 x}-\frac{1}{6} b c^6 d^3 \tan ^{-1}(c x)+\frac{3}{4} b c^4 d^2 e \tan ^{-1}(c x)-\frac{3}{2} b c^2 d e^2 \tan ^{-1}(c x)-\frac{d^3 \left (a+b \tan ^{-1}(c x)\right )}{6 x^6}-\frac{3 d^2 e \left (a+b \tan ^{-1}(c x)\right )}{4 x^4}-\frac{3 d e^2 \left (a+b \tan ^{-1}(c x)\right )}{2 x^2}+a e^3 \log (x)+\frac{1}{2} i b e^3 \text{Li}_2(-i c x)-\frac{1}{2} i b e^3 \text{Li}_2(i c x)\\ \end{align*}
Mathematica [C] time = 0.138102, size = 175, normalized size = 0.77 \[ \frac{1}{60} \left (-\frac{15 b c d^2 e \text{Hypergeometric2F1}\left (-\frac{3}{2},1,-\frac{1}{2},-c^2 x^2\right )}{x^3}-\frac{2 b c d^3 \text{Hypergeometric2F1}\left (-\frac{5}{2},1,-\frac{3}{2},-c^2 x^2\right )}{x^5}-\frac{90 b c d e^2 \text{Hypergeometric2F1}\left (-\frac{1}{2},1,\frac{1}{2},-c^2 x^2\right )}{x}+30 i b e^3 \text{PolyLog}(2,-i c x)-30 i b e^3 \text{PolyLog}(2,i c x)-\frac{45 d^2 e \left (a+b \tan ^{-1}(c x)\right )}{x^4}-\frac{10 d^3 \left (a+b \tan ^{-1}(c x)\right )}{x^6}-\frac{90 d e^2 \left (a+b \tan ^{-1}(c x)\right )}{x^2}+60 a e^3 \log (x)\right ) \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.06, size = 272, normalized size = 1.2 \begin{align*} -{\frac{3\,ad{e}^{2}}{2\,{x}^{2}}}-{\frac{3\,a{d}^{2}e}{4\,{x}^{4}}}-{\frac{a{d}^{3}}{6\,{x}^{6}}}+a{e}^{3}\ln \left ( cx \right ) -{\frac{3\,\arctan \left ( cx \right ) bd{e}^{2}}{2\,{x}^{2}}}-{\frac{3\,b{d}^{2}\arctan \left ( cx \right ) e}{4\,{x}^{4}}}-{\frac{b{d}^{3}\arctan \left ( cx \right ) }{6\,{x}^{6}}}+b\arctan \left ( cx \right ){e}^{3}\ln \left ( cx \right ) -{\frac{i}{2}}b{e}^{3}\ln \left ( cx \right ) \ln \left ( 1-icx \right ) +{\frac{i}{2}}b{e}^{3}\ln \left ( cx \right ) \ln \left ( 1+icx \right ) -{\frac{i}{2}}b{e}^{3}{\it dilog} \left ( 1-icx \right ) +{\frac{i}{2}}b{e}^{3}{\it dilog} \left ( 1+icx \right ) -{\frac{b{c}^{6}{d}^{3}\arctan \left ( cx \right ) }{6}}+{\frac{3\,b{c}^{4}{d}^{2}e\arctan \left ( cx \right ) }{4}}-{\frac{3\,b{c}^{2}d{e}^{2}\arctan \left ( cx \right ) }{2}}-{\frac{b{c}^{5}{d}^{3}}{6\,x}}+{\frac{3\,b{c}^{3}{d}^{2}e}{4\,x}}-{\frac{3\,bcd{e}^{2}}{2\,x}}-{\frac{bc{d}^{3}}{30\,{x}^{5}}}+{\frac{b{c}^{3}{d}^{3}}{18\,{x}^{3}}}-{\frac{bc{d}^{2}e}{4\,{x}^{3}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\frac{1}{90} \,{\left ({\left (15 \, c^{5} \arctan \left (c x\right ) + \frac{15 \, c^{4} x^{4} - 5 \, c^{2} x^{2} + 3}{x^{5}}\right )} c + \frac{15 \, \arctan \left (c x\right )}{x^{6}}\right )} b d^{3} + \frac{1}{4} \,{\left ({\left (3 \, c^{3} \arctan \left (c x\right ) + \frac{3 \, c^{2} x^{2} - 1}{x^{3}}\right )} c - \frac{3 \, \arctan \left (c x\right )}{x^{4}}\right )} b d^{2} e - \frac{3}{2} \,{\left ({\left (c \arctan \left (c x\right ) + \frac{1}{x}\right )} c + \frac{\arctan \left (c x\right )}{x^{2}}\right )} b d e^{2} + b e^{3} \int \frac{\arctan \left (c x\right )}{x}\,{d x} + a e^{3} \log \left (x\right ) - \frac{3 \, a d e^{2}}{2 \, x^{2}} - \frac{3 \, a d^{2} e}{4 \, x^{4}} - \frac{a d^{3}}{6 \, x^{6}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{a e^{3} x^{6} + 3 \, a d e^{2} x^{4} + 3 \, a d^{2} e x^{2} + a d^{3} +{\left (b e^{3} x^{6} + 3 \, b d e^{2} x^{4} + 3 \, b d^{2} e x^{2} + b d^{3}\right )} \arctan \left (c x\right )}{x^{7}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a + b \operatorname{atan}{\left (c x \right )}\right ) \left (d + e x^{2}\right )^{3}}{x^{7}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (e x^{2} + d\right )}^{3}{\left (b \arctan \left (c x\right ) + a\right )}}{x^{7}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]